﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Security.Principal;

namespace MDP.WebOpenPortal.Controllers.SSO
{
    public interface IClaimsIdentity : IIdentity
    {
        /// <summary>
        /// 登录帐户
        /// </summary>
        string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        string Password { get; set; }
        /// <summary>
        /// 域
        /// </summary>
        string Domain { get; set; }
        
        /// <summary>
        /// 登陆时间
        /// </summary>
        DateTime LogonTime
        {
            get;
            set;
        }
        /// <summary>
        /// 密码剩余过期天数
        /// 密码永不过期: -1
        /// 密码已经过期:  0
        /// 否则: 实际剩余天数
        /// </summary>
        int PasswordExpireDays
        {
            get;
            set;
        }
    }
}